package com.itheima.facade;

/**
 * @author zzw
 * @date 2025/10/19
 * @description 外观模式测试类
 */
public class Client {
    public static void main(String[] args) {
        // 创建外观对象
        SmartAppliancesFacade facade = new SmartAppliancesFacade();
        // 客户端直接与外观对象交互
        facade.say("打开家电");
        facade.say("关闭家电");
    }
}
